package com.kedou.sdk.params;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/6/9 0009.
 */

public class CheckOrderRequestParams extends BaseRequestParams implements Parcelable{

    private static final String SERVICE = "orderQuery";

    private String order_no;
    private String appid ;



    public CheckOrderRequestParams(String order_no,String appid){
        this.order_no=order_no;
        this.appid = appid;


    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getOrder_no() {
        return order_no;
    }

    public void setOrder_no(String order_no) {
        this.order_no = order_no;
    }

    @Override
    public String getServiceString() {
        return SERVICE;
    }





    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeString(this.order_no);
        dest.writeString(this.appid);


    }

    protected CheckOrderRequestParams(Parcel in) {
        super(in);
        this.order_no = in.readString();
        this.appid = in.readString();
    }

    public static final Creator<CheckOrderRequestParams> CREATOR = new Creator<CheckOrderRequestParams>() {
        @Override
        public CheckOrderRequestParams createFromParcel(Parcel source) {
            return new CheckOrderRequestParams(source);
        }

        @Override
        public CheckOrderRequestParams[] newArray(int size) {
            return new CheckOrderRequestParams[size];
        }
    };
}
